package com.ebs.md.fxmonitor.marketmonitor.model;

/**
 * Perforce Revision:
 *  $File: //depot/MarketData/fxmonitor/main/src/main/java/com/ebs/md/fxmonitor/marketmonitor/model/SpoofBySizeSingleFact.java $
 *  $Revision: #4 $  $Change: 116112 $  $DateTime: 2012/10/23 08:49:40 $  $Author: Aviad.Yosef $
 */

import com.ebs.md.api.BookSide;
import com.ebs.md.api.Rate;
import com.ebs.md.api.product.PairProduct;


public class SpoofBySizeSingleFact
extends   AbsSingleFactCancel
{
	// gened with Eclipse
	private static final long serialVersionUID = -2940787988407026369L;

	protected int  position;
	
	public SpoofBySizeSingleFact(String configInstanceName, PairProduct pair, long timestamp,	String quoteId, Rate quoteRate, BookSide bookSide
			, String floorCode,	String traderId
			, long lifeTime) {
		super(configInstanceName, pair, timestamp, quoteId, quoteRate, bookSide
			, floorCode, traderId
			, lifeTime);
	}

	public SpoofBySizeSingleFact(String configInstanceName, OBCRemove obRemove) {
		super(configInstanceName, obRemove);

		position      = obRemove.getObPosition();
	}
	
	public int getPosition() {
		return position;
	}
	
	protected String additionalFields4toString() {
		return 
		       super.additionalFields4toString()
			+ ", position=" + position
			;
	}
	
}


